<?php

$UserInfo = UserInfo($GL, $_SESSION['LOGIN_NAME']);

$t_BODY = "
<p></p>
<br />
<fieldset>
    <legend>Слушать эфир:</legend>
    <table class=\"userinfo\">
    <tr>
        <td>

<object width=\"300\" height=\"105\" data=\"http://beta-radio.ru/player/1/uppod.swf\" type=\"application/x-shockwave-flash\" id=\"audioplayer2858\">
<param value=\"always\" name=\"allowScriptAccess\" />
<param value=\"transparent\" name=\"wmode\" />
<param value=\"http://beta-radio.ru/player/1/uppod.swf\" name=\"movie\" />
<param value=\"comment=Maker01&amp;st=http://beta-radio.ru/player/1/audio55-1465.txt&amp;file=http://".$SITE.":".$UserInfo["port"]."/live\" name=\"flashvars\" /></object></td>
        <td><b></b></td>
    </tr>
    <tr>
        <td></td>
        <td><b></b></td>
    </tr>
    </table>
</fieldset>
<fieldset>
    <legend>Страница статистики Вашего порта:</legend>
    <table class=\"userinfo\">
    <tr>
        <td><iframe src=\"http://".$SITE.":".$UserInfo["port"]."\" frameborder=\"0\" scrolling=\"yes\" width=\"650\" height=\"900\"></iframe></td>
        <td><b></b></td>
    </tr>";
if ($UserInfo["shell"] == "Открыт") {
    $t_BODY .= "
    <tr>
        <td>Админская панель</td>
        <td><b></b></td>
    </tr>
    <tr>
        <td></td>
        <td><b></b></td>
    </tr>
    <tr>
        <td><iframe src=\"http://".$SITE.":".$UserInfo["port"]."/admin/\" frameborder=\"0\" scrolling=\"yes\" width=\"650\" height=\"900\"></iframe></td>
        <td><b></b></td>
    </tr>
    <tr>
        <td></td>
        <td><b></b></td>
    </tr>";
}
$t_BODY .= "
    </table>
</fieldset>

";

$t_title = "Статистика";
$HEADER .=" - ".$t_title;

?>